/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package wargame.entity;

import java.util.ArrayList;
import module.Utility_Function;

/**
 *
 * @author stanley.2007
 */
public class TransactionTurn {
    private ArrayList<Transaction> transaction_list = new ArrayList<Transaction>();
    private int remaining_balance;
    private String remaining_balance_string;
    private int turn;

    public String getRemaining_balance_string(){
        return Utility_Function.formatCurrency(remaining_balance);
    }

    public TransactionTurn(){
        
    }

    public int getTurn() {
        return turn;
    }

    public void setTurn(int turn) {
        this.turn = turn;
    }

    public void addTransaction(Transaction transaction){
        this.transaction_list.add(transaction);
    }

    public int getRemaining_balance() {
        return remaining_balance;
    }

    public void setRemaining_balance(int remaining_balance) {
        this.remaining_balance = remaining_balance;
    }

    public ArrayList<Transaction> getTransaction_list() {
        return transaction_list;
    }

    public void setTransaction_list(ArrayList<Transaction> transaction_list) {
        this.transaction_list = transaction_list;
    }

    
}
